package com.zzzy.common.enums;

import lombok.Getter;

/**
 * 是否枚举类
 */
@Getter
public enum YesOrNoEnum {

    YES("是", 1),
    NO("否", 0);

    private String value;
    private Integer code;

    YesOrNoEnum(String value, Integer code) {
        this.value = value;
        this.code = code;
    }
}
